package com.prd.service;

import com.prd.dto.SysDepartmentLetterDTO;
import com.prd.model.SysDepartmentLetterDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.prd.util.JsonData;

/**
 * <p>
 * 部门责任书 服务类
 * </p>
 *
 * @author lizhaoyi
 * @since 2024-01-04
 */
public interface SysDepartmentLetterService extends IService<SysDepartmentLetterDO> {

    /**
     * 添加部门责任书
     * @param sysDepartmentLetterDTO
     * @return
     */
    JsonData addDepartLetter(SysDepartmentLetterDTO sysDepartmentLetterDTO);

    /**
     * 查看部门责任书
     * @param id
     * @return
     */
    JsonData detail(Long id);

    /**
     * 修改部门责任书
     * @param sysDepartmentLetterDTO
     * @return
     */
    JsonData edit(SysDepartmentLetterDTO sysDepartmentLetterDTO);
}
